| GUI Help > Menus > setMenuItemEnabled | ||||||||||||||
|
setMenuItemEnabled |
||||||||||||||
| setMenuItemEnabled handle menu, int item, bool enabled | ||||||||||||||
|
Description: Enables or disables a menu item. When a menu item is disabled it appears grey and the user cannot select it. |
||||||||||||||
|
Return Value: |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |